package com.abner.dome03;

/**
 * @description:
 * @author: GUOYN
 * @create: 2024/5/13 14:37
 */
public class Client {
    public static void main(String[] args) {
        Host host = new Host();
        ProxyInvocationHandler pih = new ProxyInvocationHandler();
        pih.setRent(host);
        Rent proxy = (Rent) pih.getProxy();
        proxy.rent();
    }
}
